/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.core.inheritance;

import java.util.Date;

/**
 *
 * @author sunil
 */
public class Subject {

    protected String name;

    public int hashCode(){    
        return name.length();
    }

    public boolean equals(Object object){
        return true;
    }

}
